package com.zhiyou100.crm.dao;

import com.zhiyou100.crm.pojo.Message;
import com.zhiyou100.crm.pojo.Role;

import java.io.IOException;
import java.util.List;

public interface MessageDao {
    List<Message> queryMessage() throws IOException;
    List<Message> queryByr(Message message) throws IOException;
    List<Message> queryBys(Message message) throws IOException;
    int delete(int id) throws IOException;
    int remove(int id) throws IOException;
    int update(Message message) throws IOException;
    int insert(Message message) throws IOException;
    int insert1(Message message) throws IOException;
}
